package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWorkHoubanYunRelation;

/**
 * <p>
 * 工单伙伴云关联表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-08-25
 */
public interface ZjWorkHoubanYunRelationService extends IService<ZjWorkHoubanYunRelation> {

    /**
     * 根据乐开的ItemId获取关联工单的数据
     * @param itemId 乐开的ItemId
     * @return
     */
    ZjWorkHoubanYunRelation getByItemId(String itemId);

    /**
     * 判断是否乐开的工单
     * @param workId 工单ID
     * @return
     */
    boolean isLaikaiOrder(Long workId);
}
